package com.baofu.paycore.biz.tools;

import com.baofu.paycore.service.facade.enums.ServiceCodeEnum;
import com.google.common.collect.ImmutableSet;

import java.util.Set;

/**
 * 需重试业务类型
 * <p>
 * User: xin deng  Date: 16/7/5 ProjectName: paycore Version: 1.0
 */
public class RetrySet {

    public static Set<String> retrySet = ImmutableSet.of(
            //支付
            ServiceCodeEnum.PAY.getCode(),
            //充值
            ServiceCodeEnum.RECHARGE.getCode(),
            //转账
            ServiceCodeEnum.TRANSFER.getCode(),
            //转账撤销
            ServiceCodeEnum.CANCEL.getCode(),
            //提现调用转账,提现
            ServiceCodeEnum.WITHDRAW.getCode(),
            //线下打款充值
            ServiceCodeEnum.OFFLINE_RECHARGE.getCode(),
            //预授权确认
            ServiceCodeEnum.AUTH_CONFIRM.getCode(),
            //预授权撤销
            ServiceCodeEnum.AUTH_CANCEL.getCode(),
            //解冻提现
            ServiceCodeEnum.UNFRE_WITHDRAW.getCode(),
            //预授权
            ServiceCodeEnum.AUTH.getCode(),
            //冻结
            ServiceCodeEnum.FREEZE.getCode(),
            //解冻
            ServiceCodeEnum.UNFREEZE.getCode(),
            //下发解冻提现
            ServiceCodeEnum.ISSUE_WITHDRAW.getCode(),
            //解冻转账
            ServiceCodeEnum.UNFRE_TRANSFER.getCode()

    );
}
